<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>注册</title>
    <%- include common  %>
</head>
<body>
    <%- include("head",{title:"register",username:''}) %>    

    <div class="container-fluid">
        <div class="container">
            <h2 class="text-primary">Welcome To Register </h2>
            <div class="row">
                <div class="col-md-4 col-xs-12 col-sm-6">
                    <form method="POST"  action="/users/register" >
                        <div class="form-group">
                          <label for="username">用户名称</label>
                          <input type="text" class="form-control" name="username" id="username" placeholder="Enter username">
                        </div>
                        <div class="form-group">
                          <label for="phone">手机号码</label>
                          <input type="text" class="form-control" name="phone" id="phone" placeholder="Enter phone">
                        </div>
                        <div class="form-group">
                            <label for="pass">密码</label>
                            <input type="password" class="form-control" name="pass" id="pass" placeholder="Enter password">
                        </div>
                        <div class="form-group">
                            <label for="confirmpass">确认密码</label>
                            <input type="password" class="form-control" name="confirmpass" id="confirmpass" placeholder="Enter confirm password">
                        </div>
                        <button type="submit" class="btn btn-primary">立即注册</button>
                        <button type="reset" class="btn btn-danger">重置</button>
                      </form>
                </div>
            </div>
        </div>
    </div>

    <%- include foot %>
</body>
</html>